import { createApp } from 'vue'
import ArcoVue from '@arco-design/web-vue';
import { createPinia } from 'pinia'
import App from './App.vue'
import '@arco-design/web-vue/dist/arco.css';

import Vant from 'vant'
import 'vant/lib/index.css'

import router from './router'
import i18n from './lang'
import { ImagePreview } from 'vant';

import '@/permission' // 权限

import './assets/reset.less' 
import './assets/app.less' 
import './assets/iconfont.css' 


const app = createApp(App)
const pinia = createPinia()

app.use(ArcoVue)
app.use(pinia)
app.use(i18n)
app.use(ImagePreview);
app
.use(Vant)
.use(ArcoVue)
.use(router)
.mount('#app')
